package com.baidu.health.util;

import lombok.Data;

import java.util.List;

@Data
public class PageResult<T> {
    private Long total;
    private List<T> meage;

    public PageResult() {
    }

    public PageResult(Long total, List<T> meage) {
        this.total = total;
        this.meage = meage;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getMeage() {
        return meage;
    }

    public void setMeage(List<T> meage) {
        this.meage = meage;
    }
}
